/*
 * @Author: Baishui
 * @Date: 2021-09-14 09:15:34
 * @LastEditors: Baishui
 * @LastEditTime: 2021-10-21 10:28:05
 * @Description: file content
 */

import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/comp',
    name: 'Comp',
    component: () => import('@/layout/index.vue'),
    meta: {
      title: '组件',
    },
    children: [
      {
        path: '/comp/basic',
        name: 'Basic',
        component: () => import('@/views/comp/basic/index.vue'),
        meta: {
          title: '基础',
        },
      },
      {
        path: '/comp/tables',
        name: 'Table',
        component: () => import('@/views/comp/tables/index.vue'),
        meta: {
          title: '表格',
        },
      },
    ],
  },
]

export default routes
